@extends('admin.pop_edit')
@section('body')
    <form id="systemUserAddForm" action="{{admin_url($baseRoute.'save')}}" class="layui-form model-form">
        <input type="hidden" name="code" value="{{$code}}"/>
        <div class="layui-form-item">
            <label class="layui-form-label required">名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" placeholder="请输入名称" class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">值编号</label>
            <div class="layui-input-block">
                <input type="text" name="value" value="{{$value}}" placeholder="请输入值编号" class="layui-input" readonly />
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容"  name="desc"  class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item text-right">
            <button class="layui-btn" lay-filter="ajaxForm" lay-submit>@lang('common.save')</button>
            <button class="layui-btn layui-btn-primary" type="button"
                    ew-event="closeDialog">@lang('common.cancel')</button>
        </div>
    </form>
@stop
@push('script')
@endpush
